package com.almond.mq.receiver;

import com.rabbitmq.client.Channel;

import java.io.IOException;

/**
 * MQ 消息接收器 接口定义
 *
 * @author tnar
 */
public interface IMQMsgReceiver {

    /**
     * 接收消息
     **/
    void receiveMsg(String msg, Channel channel,
                    long tag) throws IOException;
}
